<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
{{info}}
    <input type="text" v-model="info">
    <input type="text" v-model="user.username" placeholder="请输入用户名">
    <input type="password" v-model="user.password" placeholder="请输入密码">
</div>
<script src="js/vue.min.js"></script>
<script>
    let v = new Vue({
        el:"body>div",
        data:{
            info:"事件绑定",
            user:{username:"",password:""}
        }
    });

</script>
</body>
</html>